Skip to content

[O2B-1549] Migrate anchored simulation passes overview model and simulation passes per lhc period overview model to use filtering model pattern#2104

Merged
graduta merged 47 commits intomainfrom
improv/O2B-1549/Migrate-AnchoredSimulationPassesOverviewModel-and-SimulationPassesPerLhcPeriodOverviewModel-to-use-FilteringModel-pattern
Apr 17, 2026
Merged

[O2B-1549] Migrate anchored simulation passes overview model and simulation passes per lhc period overview model to use filtering model pattern#2104
graduta merged 47 commits intomainfrom
improv/O2B-1549/Migrate-AnchoredSimulationPassesOverviewModel-and-SimulationPassesPerLhcPeriodOverviewModel-to-use-FilteringModel-pattern

Conversation

@NarrowsProjects
Copy link
Copy Markdown
Collaborator

@NarrowsProjects NarrowsProjects commented Mar 10, 2026

I have a JIRA ticket

  • branch and/or PR name(s) include(s) JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected

Notable changes for users:

  • N/A

Notable changes for developers:

  • The AnchoredSimulationPasses and SimulationPassesPerLhcPeriod overview models now store their filter in a FilteringModel instance.
  • The names filter must now be accessed through the FilteringModel.get function

Changes made to the database:

  • N/A

Guust and others added 30 commits February 20, 2026 10:23
* Filtering by stableBeamsStart and stableBeamsEnd has been added to LHC Fills overview page
* lhcFills endpoint & DTO validation modified and testing added for the aforementioned changes
---------

Co-authored-by: GuustMetz <guust.metz@cern.ch>
Co-authored-by: Guust <metzguust@gmail.com>
* Replaced the two-query pattern with a single queryBuilder in GetAllEnvironmentsUseCase. The previous approach was redundant following Sequelize performance improvements; furthermore, the original implementation's logic was flawed which resulted in the pagination bug.
@NarrowsProjects NarrowsProjects self-assigned this Mar 10, 2026
@NarrowsProjects NarrowsProjects added frontend javascript Pull requests that update Javascript code labels Mar 10, 2026
GuustMetz added 2 commits March 12, 2026 08:50
…-FilteringModel-pattern' into improv/O2B-1549/Migrate-AnchoredSimulationPassesOverviewModel-and-SimulationPassesPerLhcPeriodOverviewModel-to-use-FilteringModel-pattern
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 12, 2026

Codecov Report

❌ Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.83%. Comparing base (37b6ee1) to head (0bfa51d).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...dOverview/AnchoredSimulationPassesOverviewModel.js 0.00% 11 Missing ⚠️
...rview/SimulationPassesPerLhcPeriodOverviewModel.js 0.00% 11 Missing ⚠️
...ses/ActiveColumns/simulationPassesActiveColumns.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2104      +/-   ##
==========================================
+ Coverage   45.82%   45.83%   +0.01%     
==========================================
  Files        1038     1038              
  Lines       17190    17186       -4     
  Branches     3116     3116              
==========================================
  Hits         7877     7877              
+ Misses       9313     9309       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from improv/O2B-1548/Migrate-qcFlagTypesOverviewModel-to-use-FilteringModel-pattern to main April 17, 2026 11:58
NarrowsProjects added 2 commits April 17, 2026 14:10
…ssesOverviewModel-and-SimulationPassesPerLhcPeriodOverviewModel-to-use-FilteringModel-pattern
@graduta graduta merged commit 07d29e7 into main Apr 17, 2026
39 of 41 checks passed
@graduta graduta deleted the improv/O2B-1549/Migrate-AnchoredSimulationPassesOverviewModel-and-SimulationPassesPerLhcPeriodOverviewModel-to-use-FilteringModel-pattern branch April 17, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

3 participants